Added case for when hashchange not called on load.