Add support for console logs in templates
Make sure variables are always defined