Fay is a programming language that forms a proper subset of Haskell and which compiles to JavaScript.