build js.lua code into lua.vm.js, avoid xhr