Fix jshint.
Improve display of error logs (stderr).
Remove useless debug.