Rename BeanShell widget demo and fix minor issues
Add a simple JavaScript version of the widget demo