A fast JS implementation the boids algorithm