Fix 'require' for emscripten modules in nodejs

Fixes #2920
please use closure-friendly syntax, like on the next like, with quotes