Updated emscripten
build.py: add shebang, clean up
src/lua.js: Use relative stack index in errors
src/lua.js: Fix pcallk usage, use traceback as error handler in invoke.
src/js.lua: Add __ipairs and __pairs