Update generator.js

Putty puts line break everywhere