@matthelm you're right about this line.

We should do something like:

```coffee
previousWidth = style.width
style.width = '100%'
style.width = previousWidth
```

The idea is that we should only set the `width` back to something if it was previously set in the `style` attribute.