A JavaScript library for the Gamepad API