code: function generateWords() {
           originWords = self.content.split(/\s+/g);
           originWords = originWords.map(function(word) {
              return {
                 text: word,
                 count: Math.floor(Math.random() * maxWordCount)
              };
           }).sort(function(a, b) {
              return b.count - a.count;
           });
           resizeWordsCloud();
        }
docs: generate words base on some content by split(/\s+/g) and sort descending