Change window.pushState to window.history.pushState.
Merge pull request #6 from kaleworsley/master

Change window.pushState to window.history.pushState.