Yes, there's socket support now so someone could write a WebSocket library in JavaScript pretty easily - I've got way too much other stuff on my plate to work on this at the moment though.
The only slightly tricky thing needed is the hash algorithm for setting up a connection, but that shouldn't be hard. Espruino can be natively compiled pretty easily for Linux/Pi/Mac, and WebSocket support could be developed on there, which might make it a little quicker.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, there's socket support now so someone could write a WebSocket library in JavaScript pretty easily - I've got way too much other stuff on my plate to work on this at the moment though.
The only slightly tricky thing needed is the hash algorithm for setting up a connection, but that shouldn't be hard. Espruino can be natively compiled pretty easily for Linux/Pi/Mac, and WebSocket support could be developed on there, which might make it a little quicker.