homework 2 JS2