Haxe
Haxe is an open source toolkit based on a modern, high level, strictly typed programming language, a cross-compiler, a complete cross-platform standard library and ways to access each platform's native capabilities.
https://github.com/openfl/lime

Lime
Lime is a flexible, lightweight layer for Haxe cross-platform developers.

Lime supports native, Flash and HTML5 targets with unified support for:
•Windowing
•Input
•Events
•Audio
•Render contexts
•Network access
•Assets

Lime does not include a renderer, but exposes the current context:
•Canvas
•DOM
•Flash
•GL
Lime apparently has support for webos, as can be seen here
https://github.com/openfl/lime/blob/...atformSetup.hx