Before AJAX, and with dupfile