With boilerplate 

(function ($) {
  "use strict";

  $.fn.highlight = function() {
    this.css('border', '2px dotted #ff9000');
  };

})(jQuery);