Fixed JSHint warnings about "Expected an assignment or function call and instead saw an expression".