Making main.js stuff