added option to not server-side render; for local debugging