Ajax bug fix due to ROOT application context