my proposition here is to replace:

```javascript
var ratio = Math.sqrt(Math.ceil(blob.size / limit * 10) / 10);
```

with

```javascript
var ratio = Math.sqrt(blob.size / limit);
```

I don't understand why the `Math.ceil` was put in the first place, I think it's useless.