JS Exam task3 fix