merge js lua