cached all required elements from dom, makes jquery faster