Judicious execution of javascript in a rails app | Hacker News Reader