Fix bug for firefox

See http://stackoverflow.com/questions/6312518/how-can-i-change-firefox-window-location-hash-without-creating-a-page-reload