use render.js as demo