Week 2 Lab in JavaScript