Please add a newline after the `{`, i.e.,

```javascript
if(api_result.book.author && (api_result.book.author.length > 0) ) {
   ...
}
```