Update main.js

Removed modernizr