diff --git a/IDBStore.js b/IDBStore.js
index <HASH>..<HASH> 100644
--- a/IDBStore.js
+++ b/IDBStore.js
@@ -144,6 +144,21 @@
 
           this.store = this.db.createObjectStore(this.storeName, { keyPath: this.keyPath, autoIncrement: this.autoIncrement});
         }
+
+        this.indexes.forEach(function(indexData){
+          var indexName = indexData.name;
+
+          // normalize and provide existing keys
+          indexData.keyPath = indexData.keyPath || indexName;
+          indexData.unique = !!indexData.unique;
+          indexData.multiEntry = !!indexData.multiEntry;
+
+          if(!indexName){
+            throw new Error('Cannot create index: No index name given.');
+          }
+
+        }, this);
+
       }.bind(this);
     },
Check indexes, throw if no name is given