fix(exercise.js): updated syntax errors