* fixed errors in store.js.