draw graph polling with ajax, fairly happy with looks