Solved JS HW