optionally server to browser