jpcasting.lua memory leaks