buaazp: 1.replace lua with LuaJIT 2.remove unused functions