Put main.js inside a closure to avoid polluting global scope
Merge pull request #3 from licyeus/develop

Put main.js inside a closure to avoid polluting global scope