tern.js configuration