Update pushState.js

Tested the code. 
Works properly in Chrome