Fix avm1 setTimeout

With tests!