Extended the Jazz templating engine with asynchronous conditional statements. They can be called by using "when" + the function which shall be called. The function has to return a boolean value within the first parameter of the callback function.