JS: change travis to jdk6