Removed console logs. Added pre-rendering.