Make sure summary icon is only displayed if a summary is set
Removed spaces.
Removed console.log and jshint warnings.
Merge branch 'no-empty-summaries' into iv-1.2