Refactors highcharts loading;

Signed-off-by: ashwinh <ashwinh@cybage.com>