added pub/sub to store.js, other functionality to make the page clicky