added ajax job waiting and minimum compound limits