You are mistaken, they definitely are adding *nix capabilities to JavaScript. Go read the B2G or WebAPI mailing list and you'll see they are working on every part of the OS, not just the UI.
Would it allow me to connect a USB keyboard (for example) or a USB mouse to my phone? How about a USB webcam that requires an additional linux driver to be installed? How could that be installed easily by the user? How about connecting a printer via USB? Will I be able to print from my HTML5 app? If not, what will it support? I'd also like to be able to find devices and printers via wifi and print, scan, etc. Will I be able to do that?
The ultimate goal is if somebody wants to do something, then it should be possible.