Moving graph generation to different part of JS
Fixed alignment of graphs
clearing previous graphs when generating a new one
More consistent order of TVs