simple template engine based on jade and jquery