fixed javascript to calculate real time Total Distance and Energy Amount on add/edit set and Summary page