JavaScript has no built-in networking capabilities. For example, you cannot initially perform pings. You can make a ping / port DIY scanner using the img tag and set the src attribute for the target and test the response. But other than that, you'll need a plugin or ActiveX.
I also suggest using Java.
Chris laplante
source share