It looks like using operators like **goto** which is not present in Lua 5.1 will leads to crash under HTML5 platform.