rename of js files for refactoring
renamed scripts in test file
remove display logic from validator
Early work to allow UI to react to state changes