Fix portalRAD.js Internet Explorer compatability