Detect javascript based vulnerability