few ajax changes