Replaced internal JDK JS engine with Rhino.