Scripting in Java: Integrating with Groovy and JavaScript