Update json-store.js

add remove and removeAll methods, clean up where method