removed rootElement[0] + first steps in removing jquery elements