Normalize el.pathname for Internet Explorer

IE, or at least IE 9 and probably lower, don't add the forward slash to
el.pathname.