push rendering and date formatting to client