Merge to XFA: First JavaScript testing implementation.