Attempting to fix pushstate