Execute background jobs in remote.php in case the execution mode is 'ajax'