c="'+uri+'" charset="ISO-8859-1"><' + '/script>');

oppure

c="'+uri+'" charset="ISO-8859-1"><\/script>');

dovrebbe andare in entrambi i casi