pin dom before jquery-like api