fixed destroying images
updated remotestorage.js