added JS Functions task 1