Create main.js

The main page of JavaScript.