Create main.js

The javascript file was uploaded