fixed a bug where easyGestures was not effectively loaded when enabled
fixed a warning issued by jshint