wiki:SpiderMonkey

SpiderMonkey is Gecko's JavaScript engine written in C - basically this allows your shell scripts to use javascript

its homepage is  http://developer.mozilla.org/En/SpiderMonkey

most package managers have spidermonkey available for install

dpkg - this is available as spidermonkey-bin

ports

rpm