Show incoming messages properly
Fix jshint warnings