removed trailing zeros from output and fixed up highchart