Update main.js

Validating if the file update is inside of the project.
Merge pull request #3 from Azakur4/master

Looks good, merging it :)