refactored to make a more generic uploader

```javascript

var i = uploader(el, {
  url: 'http://.../blah.jpg',
  name: 'avatars[]'
}).addClass('avatar');

```