Attempting to add proper response header to allow other domains to send AJAX requests