js homework 14.10.