PLD: move js tests script to script folder, travis use this to run js tests