Javascript code for providing the appropriate audio/video format to the user's browser. Dependencies: jQuery, Modernizr