ie friendly

So remove the class from the element, and if data-url matches window.location.pathname, add it.