I suspect it will be replaced with GraalVM some day as that seems to be the future after Nashorn. Which would mean JavaScript would be fine. It will probably be more relevant for jython users in that case as Graal support python 3 and jsr223 is based on python 2.