How 'this' in javascript is similar to 'self' in ruby | Hacker News Reader