Refactored Hierarchical Clustering analysis to use generic form validator, remove unnecessary html elements and to use resource plugin.