handle quota err on storing Globals to localStorage, moved all code that was possible to move out of boot.js to loader