Create a util js that can provide major validations instead of being done in each analysis js.
Refactored Heatmap analysis form js validation to use FormValidator js