solved JS String task 4