solved JS DOM task 4