fixed #6
updated remotestorage.js