Add Tern.
Simplify install.