add common ajax method