Using jQuery deferred objects was able to use one function at the end of all ajax calls. Need to cleanup using some kind of progress meter.
Still need to calculate cost based on each gas station