use JSHint directive to avoid puzzling use of void operator