JSHint: Updated to v 2.4.0

Plus some minor fixes.