Take a look at elm-lang.org. It is a functional language that compiles to javascript. Effects are implemented as Tasks (as I understand kind of like a Monad). It has very good interoperability with javascript code.
Elm does look very nice. Not sure if I'd get the team on board with that kind of change ;)