Create main.js

Example of use