Multiple fixes for IE8 and lower. Fixes for &count=1 returning 0 images from API.