I have written code for collision detection in javascript, but it isnt working for some reason. when the balls collide, it should give an alert saying "Collision"