Links manage window location hash for html5