Fix accidental global variable.

Same as https://github.com/Polymer/HTMLImports/pull/80 but following @sjmiles instructions.