First version of Wrapping joystick events
Interface to display joystick events
Using blocking thread to read js events