Changed template to all be javascript based so dont need this server side rendering.