1.1.0: When querySelector is used to grab one of the Polymer custom element

1.1.0: When querySelector is used to grab one of the Polymer custom element, it returns null in Firefox and Safari. Why is that? It’s okay in Chrome and Opera. When I wrapped the script in HTMLImports.whenReady then the console still prompted null is not an object but then the code actually worked.