The Basics of Looping in JavaScript