altering the morris.js file to fix the legend off the chart