Different way of suppressing jshint warnings for constructors passed as args.

Change-Id: I4505938ac5f16f20291b8759350266f462450ee1