minior update to ball.js