JavaScript : Mixing template languages