dartdoc-viewer: eliminate an error when analytics is not enabled

R=alanknight@google.com

Review URL: https://codereview.chromium.org//215213004