fix unwanted popstate firing in webkit/chrome