SOLVED xHttpRequest problem, added CORS library and filter, web.xml