jquery-like dom manipulation