We understand the difference between Java, Flash and Javascript, but, again, it's quite easy, without any knowledge of programming, to piece the full image together.
Once someone is to the point of being able to figure out how to get it from javascript, I don't see much of an advantage in doing something more complex. If they are motivated, they could figure it out.