Refactor: extract common condition
Refactor: extract common condition

_allLoaded is a common condition for all case statements.

remotestorage/remotestorage.js,remotestorage/remotestorage.js,theWebalyst/remotestorage.js,remotestorage/remotestorage.js,theWebalyst/remotestorage.js