IE img bug fix for <img width=>

In IE 9 images a scaled to max width even when the width attr is set in <img>. This fix segregates the auto scaling of the with only when there is no width attr set.