some changes to newfile.js