use memory a little more efficiently in emscripten.py
turn calls to undef into aborts, so they asmify
Merge branch 'incoming' of github.com:kripken/emscripten into incoming
optimize memory use of funcs_js in emscripten.py
remove unneeded 64-bit shifts code
do not emit code after a switch; fixes #946
Play-ttd branch