JS5: All tasks for loops