javascript != java, and these are java forums. While this doesn't eliminate the chances of you receiving help on these forums, you might have better luck in a javascript dedicated forum. In the meantime, I have moved your thread to the other programming languages section of the forums.