Refactored Crafty.storage to use pouch.js