Modifications to sync JavaScript components with recent changes to FlexJS framework.