update remotestorage.js