Created train.js