Update main.js
Merge pull request #397 from Tigrouzen/patch-3

Update main.js