add client side Jquery functionality