Update render.js

Add render by url