Now have the graphs changing through js.