Fix renderer function generated in Gruntfile.js