refactored new.js
Merge pull request #579 from icaaq/firefox-new-b-back-button

refactored new.js