Pipe your curl output to cjson and make it both sexier and easier to read.
sudo gem install jsdiff
jsdiff a.js b.js