moved access to local storage to /common_js/storage.js