template for building DurandalJs widgets