Use window.mediaManager explicitly instead of this