don't use js for mouse gesture
mosh can replace ssh client