Create main.js

Added main.js