Updated store.js lib for new project