when using HTMLImports polyfill, defer processing polymer-elements in the main document until HTMLImportsLoaded