adding pushstate
Merge pull request #1 from fionnbharra/master

adding pushstate