fixes #208: Add support for CORS to facilitate javascript REST coding:: VALIDATION