You can install this package from Melpa:
M-x package-install RET company-tern RET
company-tern to allowed
company-mode backends list
(add-to-list 'company-backends 'company-tern)
If you don't like circles after an object's own properties, consider a less annoying marker for that purpose or disable it entirely.
(setq company-tern-property-marker " <p>") (setq company-tern-property-marker nil)
You can trim too long function signatures to the frame width.
(setq company-tern-meta-as-single-line t)
If you doesn't like inline argument annotations appear with corresponding identifiers, then you can to set up the company align option.
(setq company-tooltip-align-annotations t)