Create main.js

set up main.js for code climate testing