I am trying to insert html with a render_to_string of a partial that contain a , the problem is that this script does not run, is there any way to rerun the inserted script