made main.js 80-char formatted