js task 6