fix(jqLite): fixed bug in detach method