Fix 'TypeError: Value does not implement interface XMLHttpRequest' on FF