JavaScript half of a controlled form flow to control exactly how and what users can enter on form and when .... original API had very strict data requirements and had limited time to manipulate original code.