fix popstate in api document