encapsulating global namespaces to pass JSHint tests
Merge pull request #3 from tracend/master

Encapsulating global namespaces to pass JSHint tests