anchor.diff:  
       ingredientTable.append(newRow);
       e.preventDefault();
  -  });
  -
  -  $('.js-addStep').on('click', function(e) {
  +  }
  +
  +  function addStep(e) {
       var stepTable = $('#stepTable tbody');
       var newRow    = stepTable.find('tr:first').clone();
       var newRowId  = stepTable.find('tr').length;
  
positive.code: <script type='text/javascript' charset='utf-8'>
  $(function () {
    $('.js-addIngredient').on('click', function(e) {
      var ingredientTable = $('#ingredientTable tbody');
      var newRow   = ingredientTable.find('tr:first').clone();
      var newRowId = ingredientTable.find('tr').length;
  
negative.code:     selectElems[1].setAttribute('id',   newId   + 'unit_id'  );
  
      newRow.find('a.js-deleteIngredient')[0].setAttribute('data-recipe-ingredient-id', '');
      newRow.find('a.js-deleteIngredient')[0].addEventListener('click', deleteIngredient, false);
  
      selectElems.find('option').each(function(i, e) {
        e.removeAttribute('selected');
  