Update ghcjs && and remove deprecation warning

I would like to use the following fix in ghcjs: https://github.com/ghcjs/ghcjs/commit/5c2d279982466e076223fcbe1e1096e22956e5a9 so I've updated the ghcjs derivation.

I also included a little fix for a deprecation warning.