portscanner in javascript