Thank you for the details!
Wow, being able to have javascript flexibility in templates would push it to the next level. Maybe we could have it by enabling some secret variable? I wouldn't see much concern for solo users like myself, but it would be a great addition.
I hope this will be revisited in the future. Many thanks for the details!