Iterated string and js interpolation 

Solves issue #2094 - string interpolation runs in a loop as long as the string keeps being modified.