Added cross domain REST/AJAX call support