use memory a little more efficiently in emscripten.py
Merge branch 'incoming' of github.com:kripken/emscripten into incoming
optimize memory use of funcs_js in emscripten.py