Fixed more global variable pollution
Linting
Fixed issue with 'in' operator precedence
Merge pull request #2 from lytics/linting

Fix global variable pollution, lint errors, etc.