Added $.pageHidden to enable cross-browser state checking