fix bug with nested templates in JavaScript backend
fix bug with nested templates in JavaScript backend

archimag/cl-closure-template,archimag/cl-closure-template,archimag/cl-closure-template,archimag/cl-closure-template