Edit jtrain_ujs.js