Added client-side redirect to prevent breaking links.
Changed redirect method from location.href to location.replace

As per: http://stackoverflow.com/a/506004/1781435
Merge pull request #12 from okTurtles/routing

Added client-side redirect to prevent breaking links.