ref https://github.com/angelozerr/tern.java/issues/155
Merge pull request #1 from paulvi/patch-1

ref https://github.com/angelozerr/tern.java/issues/155