some store.js cleanup