dropping use of $() in client side code