Updated store code to be adapter based. See troopjs/troopjs-browser#16