add ajax to post data