Fix linting.
Removed main.js.
Added log file to .gitignore.
Fixed test configuration.