playing with the javascript gamepad API