SSWebCL is a project mainly written in JavaScript, it's free.
A simple web command line.
A simple command line for the web. It turns out it has been done before, but what the heck.
Currently requires a server, but may eventually be able to work as a standalone bookmarklet.