add store.js as lib