Droidscript setinterval and settimeout completely ignored [duplicate]

i’m trying to make first steps with droidscript and can’t help with timers.

This is my code:
This is my code

Why the hell the setTimeout doesn’t work? The alert triggers before the loadurl finishes. Absolutely no sleep and can’t understand why…

using DroidScript_251b1 (but tried the more stable 2.50 and doesn’t work)