Added CORS headers for cross side AJAX requests and WebGL textures