add Gateway and javascript server connect plugin