javascript homework 1