Great for starting with new JavaScript file.

  (function ($) {

    Drupal.behaviors.namespace = {
      attach: function (context, settings) {
        // TODO: Write code
      }
    };

  })(jQuery);