Java != javascript. Moving this to the "other languages" forum.