WIP make a nicer packager than the emscripten one, to support future moaijs_player
merge with master for CI on osx