Progress on cap00.js.

- TCed isJSON