Suggestion: in your code for each function it says "not supported on web" if the function is not web available. I was about to say the wWait does not specify that, unlike the other functions, so I thought you had some way of dealing with it. But I see I seem to have wasted all that time because I do not know French; would I be correct in assuming that "exécutée seulement en mode interactif" means just that?
I will do something in javascriptto actiavte the wait pic or something else during processing actions.