SurfaceWebCanvas now handles events.

- Events in Javascript are mapped to the surface events.
- The surface now calls render() at the given fps.