Simplify render.js.