$('#content').html('<%= escape_javascript(render :template => 'repositories/new', :formats => [:html]) %>');