add ajax to post