Title: [JavaScript] var ListUtils = { num: 0, limit: 10, last: '', publish: function (msg, c Author: Anonymous Pastebin link: http://pastebin.com/BCXSzbkL First Edit: Friday 7th of December 2012 10:30:15 PM CDT Last Edit: Friday 7th of December 2012 10:30:15 PM CDT var ListUtils = {         num: 0,         limit: 10,         last: '',         publish: function (msg, callback) {                 msgStr = JSON.stringify(msg);                 var sm = msgStr == this.last;                 this.last = msgStr;                 if (sm) {                         this.num++;                         if (this.num > this.limit) {                                 return false;                         }                 } else {                         this.num = 0;                 }                 $.ajax({                         url: '/lists/update/',                         type: 'POST',                         data: {                                 'inp': msgStr,                                 'csrfmiddlewaretoken': $.cookie('csrftoken') || ''                         },                         datatype: 'json',                         complete: function (data) {                                 if (callback) {                                         callback();                                 }                         }                 });         },