Javascript Diff Algorithm By John Resig (http://ejohn.org/) Modified by Chu Alan "sprite" Released under the MIT license. More Info: http://ejohn.org/projects/javascript-diff-algorithm/