Made pushstate use the current url path instead of a static path