web/boids.js: Use a for loop for update

And remove the unused dt parameter from update().