Use env vars to tell erb about hs module

Depends on https://github.com/ghcjs/shims/pull/11