Refactoring
Merge pull request #25 from wcandillon/refactoring

Use IndexedDB transaction API.