Javascript bouncing balls, collision detection, project for codingDojo 2014