onPopState updated to reflect chrome change

@hojberg @barnabyc