temp commit for refactoring ajax code