Images support; performance optimizations (especially for ie9)