AppCache assignment

I chose to implement indexDB with a todo list. I utilized code from http://www.anotheruiguy.com/ux-design-dev/_book/html5/indexdb.html . And I tested my code via jsfiddle; http://jsfiddle.net/caseysh00/ZacBf/190/show/ .
far too much indentation.