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

This script is in no where testable. Unless you intend to make this script an one-off work where we will never try to make improvement on this script ever, we need to make this unit testable (where an instance = an unit).