converted most getjson calls to promises
converted load_average chart to promises
fixed legend not showing