Create main.js

Script principal