homework 3 JS2