Replaced native xml calls with ajax. I'm lazy, leave me alone! Stable working commit. JS cleanup needed