$(document).ready equivalent without jQuery | Hacker News Reader