Revert "Fixed whitespace in the JS section of the template"

This reverts commit 3676ffbbdf321e513068b52662858c470540edc9.