Fix for FireFox 18 and sctrict mode

in FireFox 18 in strict mode window.indexedDB cannot be overwritten and
creates an TypeError!