Issue: assigning number as string can cause problems in some browsers

Setting int type var as text can cause problem in some browsers types. To fix this, the scale int type was bing converted to text before setting it as scale attribute.
Issue: return false can lead to bad URL placement

scaleImage should return null if the image pattern is not matching any known image that can be scaled according to retina \ zoom level.
Fixed typo in one of the remarks