IE doesn't have the document.baseURI property. This workaround constructs the baseURI if not present.
Attach a file by drag & drop or click to upload