Fix #124 - JSON is not defined in IE 7