Async While Loop Javascript Break Characters