Fixed progress bar bug and detection on chrome.