Update main.js

Set everything back to normal.  Added variables to make code more fluid(?).