How to avoid race conditions using asynchronous JavaScript
lorenzweiss.de