code: function($, $ln, contents) {
    var ln = $ln[0]
      , attrKeys = Object.keys(ln.attribs)
      , $s = $('<style type="text/css"></style>')
      , attrs = []
      , ix;
    for(ix = attrKeys.length; ix--;) {
      $s.attr(attrKeys[ix], ln.attribs[attrKeys[ix]]);
    }
  
    // Save the origin href
    // ...
    $s.attr('data-bepacked-href', $s.attr('href'));
  
    $s.attr('href', null);
    $s.attr('rel', null);
    $s.text(contents.toString().trim());
    $ln.replaceWith($s);
  }
docs: Replace a link tag with a script tag with the give contents