Update storedb.js

Fixed an issue with `remove` that was skipping some elements when multiple keys were found because `splice` rearrange the Array keys. Looping backward solves the problem.