ajax commit