VID-2009 not using JSSnippets for media gallery
VID-2009 updating comment
VID-2009 only loading gallery JS if there's a gallery on the page
Cherry picking commit
VID-2009 fixing sloth to work with elements with offset top of 0 and js-beautify
whitespace
whitespace
Merge pull request #4930 from Wikia/VID-2009-cherry-pick

Vid 2009 cherry pick