just set the hash to the hash - not the whole location (allows things to work on pages with <base> tag)