Fix IE case of _getAbsoluteUrl() function to work in IE9+