Extracted inline script tag into polymer-selection.js