JavaScript first homework.