http://www.html5rocks.com/en/tutorials/indexeddb/todo/#