If your needs fall towards JS as the target vs. the source language, then it's worth having a look at Fay[1] and GHCJS[2]. Both allow calls from regular Javascript, but Fay currently has a much better interface for that vs. GHCJS' still very low-level support.
[1] https://github.com/faylang/fay/wiki
[2] https://github.com/ghcjs/ghcjs