Use render insted of renderSync method
Remove console.log