Use the current Gamepad API

`webkitGetGamepads` is deprecated in recent browser versions. Provide use of the current API if available.
Merge pull request #38 from Systemcluster/patch-1

Use the current Gamepad API