Only replace the hash when it's different.

This improves scrolling performance (in Chrome 26 on Mac, at least) and prevents this weird favicon blinking behavior when scrolling:
![scrollomatic mov](https://f.cloud.github.com/assets/12215/538123/f5c13cfc-c182-11e2-9540-5fb09212085a.gif)