link lua-jit
validate LUA script before create function