Week 3 Lab in JavaScript