Real switch allows CORS so change params.js to use it.