Use hash change to track hash changes.