$('#myroles').html("<%= escape_javascript(render partial: 'roles').html_safe %>");