JS Functions tasks 1 - 4