Validate JSON with a jQuery plugin