Iterations, scripted with JavaScript(Rhino)