Implement JSManaged for DOM objects.
Rename JSManaged to JS.