Computationless template engine (Python and Javascript)