Add npm install for tern.