Got rid of JSLint error.

Would appreciate coaching on this.  Please see comments at top of
gallery_wccJSLintError.js.  Thanks.