My favourite forum software is NodeBB. This templating engine is written in JavaScript.