Fixed CORS problem, occuring in browser AJAX requests.