JS homework chapters 3-5