anchor.diff:          if ( event.keyCode === $.ui.keyCode.TAB &&
               $( this ).autocomplete( "instance" ).menu.active ) {
             event.preventDefault();
  +          changeDivColor();
           }
         })
         .autocomplete({
  
positive.code:         var form = $(this).parents('form');
          $(form).trigger('submit.rails');
          $('.saved_text').show(0).delay(3000).hide(0);
        }
      });
  
  
negative.code:       // $('.js-keywords__input').blur(function(){
        //   $('#js-keywords__container').attr('class', 'c-keywords__container--has-blur');
        // });
      function changeDivColor() {
        alert("hi");
        $('#js-keywords__container').css("border", "orange");
      }
      function revertDivColor() {
        alert("hi");
        $('#js-keywords__container').css("border", "black");
      }
    });
    </script>