Update main.js

configured