JS2: Task1: corrections