Updated JSON availability check

IE7 was throwing a false error for the JSON methods check