Extended java script engine.