Update main.js

Fixing a typo - 'restar' to 'restart'