Extend the <a> tag with history.pushState()