helper for finding & manipulating html elements