Updated the infrastructure for the Javascript components.