VID-2009 not using JSSnippets for media gallery