Creating a simple ExpressJS middleware to detect bots | Hacker News Reader