add MIT license
able to detect gamepad connected or disconnected

- remove dummy JS func
- handle gamepad js object creation, bind connect/disconnect event