Update base.js

IDBTransaction.READ_WRITE is undefined in FF 32
Merge pull request #11 from jackfagner/patch-1

Update base.js