Oct 21, 2014 – yannickoo Great for starting with new JavaScript file. (function ($) { Drupal.behaviors.namespace = { attach: function (context, settings) { // TODO: Write code } }; })(jQuery);