Made some lua.js changes