Update main.js
Merge pull request #1 from Delawen/patch-2

nice!!