Add JavaScript scripting with Nashorn