Vid 1976

Refactoring the new media galleries so they are rendered client side. This handles issues surrounding lazy loading. 
These arguments are treated like any JS variable in that constructors are named with UpperCamelCase and all other variables are lowerCamelCase.