debug version of remoteStorage.js