Remove PHP Notice for $output (media editor)

Notice on concatenating to variable that doesn't already exist. Added variable declaration to top of function scope.