Add client side webpage code