How to correctly specify default options in ES6 | Hacker News Reader