bouncing ball js test