Update base.js

IDBTransaction.READ_WRITE is undefined in FF 32