Implement JSManaged for DOM objects.