Minor cosmetic changes

Whitespace cleanup, removed improper semicolons, minor binding change in
database.js openIndexedDB