Remove exception if no images with srcset tag

Check if srcset tag exist in <img/>
Prevent errors like :
Uncaught TypeError: Cannot read property 'element' of undefined