Bugfix: Trailing slash no longer appended by history.js and replaceState for initialisation.