intial base for ajax