Only set initial hash if no hash is present on pageload.