Fixed storage.js so that it works when no links have been entered in to the cloud storage