Oh ok it's a real attribute computed by the browser! I did not know it :-D

A very quick cross-browser shortcut would be to store only the biggest `availableWidths` value used and update the `src` url only if the new value is bigger.

Or not to care about IE8 for this feature? @Integralist, is the IE8 support going to last long at BBC News?