fix syntax error in render.js