build lua.vm.js from the compiled VM plus the JS API