Added notes to newMain.js file