Added cross domain support
Minor update for the cross origin