Added a file for ensuring browser compatibility and basic definitions.
Updated m.media and corresponding demo.