Fixes from jshint
Improved handling of growler close click event