ajaxify the edit post file