solved JS DOM task 1