A javascript polyfill for the picture element