modify coffee script for render.js to include viewport setting