use correct dep declaration for hashchange