fixing use of c2render.js