Update ball.pde .js text() error

Try to use another text() function version. text(String, int, int) (maybe) failed in .js