Ok, now everything should work in the same way than jquery.

Thanks for your review