Support to CORS
Test
Test
Some changes to support AJAX calls