Fixes URL's hash removal on GitHub Pages

http://stackoverflow.com/a/17934268