Add gesture_detector.js