converted vm view to a Jade template