CVM Algorithm in JavaScript | Hacker News Reader