IE 7 fix

I changed the conditional check for JSON and localStorage to a typeof check. This change fixes Chirp in IE 7 when coupled with the excellent JSON library from Douglas Crockford (https://github.com/douglascrockford/JSON-js/blob/master/json2.js).

I also commented out a stray console.log that also throws an error in IE 7.