send driver and mpg scores to javascript