Optimize dynamic html5 rendering of travelshed.