Small changes to main.js for creating editing of exercises in timeLine