The JavaScript plugin adds support for JavaScript GeoScript to GeoServer. Tomcat must be restarted for the plugin to take effect.