A fast JavaScript implementation of the boids algorithm