How to chain multiple functions in JavaScript properly with async/await | Hacker News Reader