An alternative go BeanShell is Rhino by mozilla.org (It's a Javascript engine). http://www.mozilla.org/js/