How to create light Eclipse RCP container for JavaScript, and HTML5+JavaScript?

In Nodeclipse project Node.js IDE based on IDE, naturally development goes with Java. I heard that Eclipse had plan to let use JavaScript for form validation etc., but I want radical approach: just run every components in WebView and use Eclipse RCP abstraction like Editor, View to connect them all.

How to create light Eclipse RCP container for JavaScript, and HTML5+JavaScript?

I mean something more than just raw WebView widget. Some Internet resources to the topic and directions for research are wanted.