Update main.js

Removed Image optimization