Prototype for CORS web service and client jQuery