Java(GWT) API for MouseTrap (https://github.com/ccampbell/mousetrap)