apply JSHint