JS2 homework 1