BUGFIX JavaScript generated when no testimonials

* BUGFIX JavaScript generated even when no testimonials