So we can change initial condition to 
```
if ((navigator.userAgent.indexOf("MSIE") >= 0 || navigator.userAgent.indexOf("Trident") >= 0) &&
     !window.svgweb) {
```
 and let the svg web case be handled by the outer else block?