js is a javascript file extension - is this a javascript question? Because java and javascript are two very different things, and this is a java forum. Thread moved from What's wrong with my code