jshint: allow assignments in conditions