Fixing elements. Looks like hashchange needs to stay in the global space for now