removed code that does not seem a good idea to keep since it modifies a preference outside the control of easyGestures
fixed some warnings issued by jshint
simplified function eG_countClicks since it is only called on browser windows