Unfinished media gallery js class. Will handle photos, video and audio when finished.