JS backend: fixed an equals behavior after it became a member of jet.Any.