solved JS String task 8