Fixing pushstate to make Back button work again