In the 'Recursive setTimeout' section in the example for sending server request the inner setTimeout() refers to a non-existing tick() function. Should be the outer request() function.