old_contents: $(function(){
    $(document).foundation();
    $('.sortable').sortable();
  });
  
new_contents: $(function(){
    Foundation.global.namespace = '';
    $(document).foundation();
    
    $('.sortable').sortable();
  });
  
subject: Set global namespace of foundation to empty string.