Heuristic for detecting when a page is loaded in google chrome