sharejs.com,Click the button to loop through a block of code five times.
Try it