Added browser support and CORS rules