Express middleware for enabling cross domain calls