JavaScript Looping Demo