Improve checkURL functions + some more

- use new Access-Control-Allow-Origin proxy
- Improve ajax() request
- Improve logging