Don't escape #{} interpolated values that are in the content of a script tag

It only makes sense to escape content that is in html tags that get rendered. Escaping values that are inserted in a script tag would break the javascript.