Update src/globalVars.js

window.IDBTransaction is not always defined and can cause errors...