solved JS String task 1