docs: function extractInline($) {
    var scripts = [];
    $('script:not([src])').each(function() {
      var el  = $(this);
      var src = el.text();
      var closestPolymerElement = el.closest('polymer-element');
      if(closestPolymerElement.length) {
        src = fixPolymerInvocation(src, $(closestPolymerElement).attr('name'))
      }
      scripts.push(src);
      el.remove();
    })
    return scripts;
  }