WIP emscripten host rework. Remove moaijs dep from moaijs.js
[skip ci]