docs: function readData (database, key, defaultValue) {
    var deferred = q.defer();
  
    // We need to verify that the database is open and ready
    openDatabase(database).then(function () {
      // Return data, or, defaultValue if no data is found
      deferred.resolve(databases[database][key] || defaultValue);
    }, function (err) {
      deferred.reject(err);
    });
  
    return deferred.promise;
  }