make vim more friendly to js
add tern config
typescript plugin, 4 spaces