CRM-12887 get jshint happy with our code