Adds the JS portion of the Gamepad plugin