fix render.js and render