ajax commit file