That is a very interesting idea.
As usually with interesting ideas someone beat you to it:
http://www.appcelerator.com/blog/2014/01/browser-based-emula...
As usually with interesting ideas someone beat you to it:
http://www.appcelerator.com/blog/2014/01/browser-based-emula...
That would be exactly like the Java applet, except with a much better API (and touchscreen laptops would finally make sense).