linted main.js