use jQuery for the client side