For starters, don't re-invent the wheel

	
<!--- yepnope.js (a custom requirement, for now...) --->
<script src="libs/yepnope.custom.min.js"></script>

<script>
yepnope([{
  load: [
    // load jQuery mobile dependencies
    '//code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css',
    '//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
    '//code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js',
      
    // add this for syncing support (more on this later)
    '//js.pusher.com/1.11/pusher.min.js'
      
    // load tacion's client files
    'src/client/tacion.css',
    'src/client/tacion.js'
  ],
  complete: function() { 
    // finally, start the presentation
    tacion.start('my_presentation'); 
  }
});
</script>