I need to queue jQuery AJAX requests. Therefore I´m using the following script which I found here: https://stackoverflow.com/a/35510613/15076882. This script executes the AJAX r