Trainig with nodejs