Adding remarks to JS functions

Adding documentation to functions in jetpack-retina-support.js