added JS Functions task 5