for loop visualizer for javascript