Update to tern.java 0.4.0 repository