Cleaned javascript, added interactive progress bar.