Cleaned up comments and JSHint issues in CORS check.