fix JSReflection bug relating to fields in a superclass