Additional method is added to be able to completely replace
location.hash with parameter given