JS Function homework finished