JSApp3: Task3: corrections