add trains js.