Format main.js
Remove unnecessary code
Move config and info to right side of the screen