Update balls js.