@andersonmuller 2.1.0 has a couple of “breaking” changes documented in the release notes on the wiki.
“Event Scripting post-process scripts, and custom scripting services (V8Js, NodeJs, and PHP) now utilize a “event.response” object that allows for custom status code and content type settings. Scripts should no longer use return statements to return data.”