Moved to store.js to support old IE
Replace localStorage with store.js for old IE support