added a couple of omitted ';' and json2.js