week 5 lab JavaScript