Nintendo actually started a component based operating system using mostly ECMAScript. It's now being developed by Google.<p>It's also open source:<p><a href="http://code.google.com/p/es-operating-system/" rel="nofollow">http://code.google.com/p/es-operating-system/</a>