Fixed missing port information in js.