fix bug in elasticsearch detection.  fix bug in page watching.