Use jquery to async call rates to graphite