I'm finding it pretty difficult to follow what's going on in here, but I think this is the source of failure when transforming something like:

```
/**
 * @jsx React.DOM
 */
<img alt="" src="" />
```

which, after these changes, now transforms to

```
/**
 * @jsx React.DOM
 */
React.DOM.img( {alt:"" src:""} )
```

In that scenario, `line` here is `""` -- and thus falsey.

On a side note (for future ref): I believe our style guide asks that you always use curly braces and to put conditional bodies on a new line