Support webkit gamepad api

Thought it might be like that, but I only had one gamepad to test with... Might make iterating through gamepads more complicated.