Break out view logic only on client side