Added main.js stuff