Fix linting errors

- Relax requirement for use of strict mode
- Ensure that all source files are linted
- Temporarily allow global variables defined by third-party libraries
- Alter source code to satisfy linting rules
Re-enable lint check for strict mode