How to export a function into a worker | Hacker News Reader