JavaScript that renders on the client side