Update gamepad.js