Extend the <a> tag with the window.history API