use JSHint directive to avoid puzzling use of void operator

A couple of people have asked why we use `void` here. Let's avoid `void` to avoid confusion.