Moved setCurrentFolder and localStorage helper functions into common.js from newtab.js