adding store.js to file