Make dynamic java proxy equals/hashCode methods equivalent to java.lang.Object if they are not defined on the js proxy.