Update storage.js

add wp8 support