+1 for the effort. But there is already a project like that which you could have used for this purpose if your purpose was not to build something like HN but build something like HN for only JS: https://github.com/SachaG/Telescope
This would have saved a lot of programming effort.