This could be done when **stack** will be capable to install **GHCJS** with **GHC 8** and **GHCJS** itself works.