cleaned up analysis.html code