Removed unnecessary DOM queries