Create main.js

Creation of main.js