rem: removelist = ["a", "an", "as", "at", "before", "but", "by", "for", "from", "is", "in", "into", "like", "of", "off", "on", "onto", "per", "since", "than", "the", "this", "that", "to", "up", "via", 
add: removelist = ["a", "an", "as", "at", "before", "but", "by", "for", "from", "is", "in", "into", "like", "of", "off", "on", "onto", "per", "since", "than", "the", "this", "that", "to", "up", "via", 
context: function URLify(s, num_chars) {    // changes, e.g., "Petty theft" to "petty_theft"        // remove all these words from the string before urlifying    removelist = ["a", "an", "as", "at", "before", "but", "by", "for", "from",                   "is", "in", "into", "like", "of", "off", "on", "onto", "per",                   "since", "than", "the", "this", "that", "to", "up", "via",                   "with"];    r = new RegExp('\\b(' + removelist.join('|') + ')\\b', 'gi');    s = s.replace(r, '');    s = s.replace(/[^\w\s]/g, '');   // remove unneeded chars    s = s.replace(/^\s+|\s+$/g, ''); // trim leading/trailing spaces    s = s.replace(/\s+/g, '_');      // convert spaces to underscores    s = s.toLowerCase();             // convert to lowercase    return s.substring(0, num_chars);// trim to first num_chars chars}
meta: 5320	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5320/539e53ccf1b9da4acd095a4aeca4ab6ccc441543/urlify.js/clean/django/contrib/admin/media/js/urlify.js