Refactor Beautiful Strings (js)

Replace a for loop with a forEach() method.