Update backbone-indexeddb.js

Use typeof consistently.