Ensure tern is installed globally.

Tern uses node's webserver in order to provide semantic data about JS to
VIM. Also building node.js script to help when working with projects.