CAMEL-7107 avoid the NPE in case of connection loss with thanks to Marios
CAMEL-7122: camel-script resolves javascript using different alias names so eg ECMAScript/js/javaScript can find the script engine to use.