Enable tern-mode in Javascript files.