Update for namespace scala.scalajs.js.
Avoid creating duplicate methods and parents.