Bug 1080652: try to work around Tarako multitouch limitations in the Keyboard

One way to make this script testable without changing the encapsulation and the initialization would be creatively load the script into it's own frame in every single test. Or load it into an web worker with fake DOM method created for it.

But I still prefer something that doesn't require it's own sandbox...