Add tern and tern-autocomplete for JS dev