Merge pull request #1 from BenjaminBini/part-1

Lint JS, update style and manage empty messages
Add *.log to .gitignore
Merge pull request #2 from BenjaminBini/master

Add *.log to .gitignore