solved JS String task 9