use eval instead of adding script tag