Module Revealing Pattern for Media

Because buffer is a global variable within the closure.
This whole thing is in an....um....Immediately-invoked function expression....hehe, love those names.
There is a few places where this comes up and I hate naming things so I just put an underscore in front of the argument.