fixes, button.js, progress,

fix old code in button.js, fix code style in progress.bar.js