JavaScript Shell
JavaScript Shell is a simple application designed to automate the testing process of certain tools that has been developed lately. There are several problems with this implementation. The first one is related to managing the varable scope. There is also a small bug in the history implementation. These problems were successfully fixed in AttackAPI.
You can download the code from here.
JavaScript shell mimics the ipython shell a bit, therefore the following builtins are supported: dir, print, load, clear and hist.

hi,
there is a nice bookmarklet around, which implements some goodies: http://www.squarefree.com/shell/