add some ajax fn