Pass redraw as parameter to Workout, instead of using global variable. Make code to honor eslint linebreak-style (use Windows linebreak). Change eslintrc indent rule to match code style. Add missing semicolons.