Make analog progress bar show color and value in ajax