Make key events work. Can type into the Hello World app just fine.
Implement mouse events.

It’s enough to let me click on the Exit button in Hello World and have
the app exit properly.
Merge branch 'master' of https://github.com/andreasgal/j2me.js
Don't hide the canvas on exit, and support the delete key
Refactor into sendNativeEvent function
Merge branch 'master' of https://github.com/andreasgal/j2me.js
Add a graphical Hello World
Add fillRoundedRect and getGameAction natives
Remove old hello world
Animate the simple hello graphics application.
ev.preventDefault was annoying; implement native drawChar required by asteroids
Merge pull request #22 from fzzzy/master

First pass at keyboard and mouse events. They work, but probably still have bugs.