Vanilla - Responsive images v 0.2

* Cleaner code. Yep.
* Set image only after success of loading, to avoid white flashes.
* Set best image available on resize.