#100: initializer.js, compartmentalize code in initMediaStream()