Added constraints and IndexedDB. Also upgraded to bootstrap 3