client side proper output for head