Jquery ProgressBar with spinner , change progress bar value on text change