Created functions for modifying classes on DOM elements.
Trying to make client-side js more orthogonal/modular.
Added validation function for movement controls.
Switched to using id's instead of data attributes for inputs.
Updated validation functions.
Added setting validation on input change, with visual feedback.