Fix find similar for Java, leave JavaScript alone