Javascript not running on newly added section

Thanks for the reply! Unfortunately, this doesn’t work for me. I thought the raw tags were just for outputting liquid brackets. I can’t even output a console log.