replace renderDocument call in htmlskin view.vm template