Use the current Gamepad API

`webkitGetGamepads` is deprecated in recent browser versions. Provide use of the current API if available.