code: function selectorForm(selector) {
      var str;
      if (selector.indexOf('[') !== -1) {
          var newSelector = attributeEquals(selector);
          newSelector = newSelector.replace('sel=', ''); // valid sass syntax
          var firstSelector = firstPart(selector);
          if (firstSelector in jquerySelectors) {
              str = jquerySelectors[firstSelector]
                    .replace('%', '"' + newSelector + '"');
          }
      } else
      if (selector in jquerySelectors) {
          str = jquerySelectors[selector].replace('%', '');
      } else {
          str = '$("' + selector + '")';
      }
      return str;
  }
docs: Create a jquery selector
  @param  {string} selector target or element selector
  @return {string}          returns selector form