Enhanced export process with ajax in order to handle large number of copies