add tern module for javascript stuff