Added HTML5-JavaScript-Gamepad-Controller-Library for broader gamepad support. Altered it to support the Standard Direct Gamepads.  Changed the trims to lock in the current lift and thrust values when the RB button is pressed.
Improved dynamic detecton of gamepad. Some of the keyboard commands now remain active when gamepad detected.
Added defence code to prevent inaccurate axis reads at the moment the gamepad is plugged in