Add Cors (Cross-origin resource sharing) support for ajax request and
cross domain