Fix issues different between JSHint versions.