Remove specific element from an array in JavaScript? | Hacker News Reader