Lua functions can't return to JS, otherwise progress