made coffeescript code better and fixed pause button functionality
added circle to the end of the progress bar