Fixed IE links bug by adding a base64 transparent gif for anchor tags for
IE only.
Optimized loops in JPG conversion.

This change makes the 4 conversion loops look the same.
It optimizes access of the array length and access of the property
numComponents, which is known to be constant.
Merge pull request #4889 from CodingFabian/optimize-jpg-loops

Optimized loops in JPG conversion.
Merge pull request #4868 from orionhealth/3579-linksnotworkinginie10

Added a base64 transparent gif image to links for IE