JSHint validation