Move code into DOM Ready event