JSHint issues