We could move this block right up to ~line 15... that way we avoid taking up a chunk of memory when we set the `src` values etc. Also, we should avoid creating a fake body and can skip some other logic if we're exiting early:

```javascript
var body;
...

if (!('autoplay' in elem)) {
  Modernizr.addTest('videoautoplay', false);
}

body = getBody();
...
```