updated renderer to reformat dojo code