Update store-controller.js

removed function not in use