udpated for remotestorage.js 0.11.0