Badgered_webserver_socket is a project mainly written in JavaScript, it's free.
make sure you npm install websocket-server FIRST... CHECK with npm ls