added graph for mood and phq9 [Finishes: #69868524]
refactored js code for highcharts