Adapt Nashorn