Extracted inline script tag into polymer-selector.js