add fallback for pushstate