fixed global leak of html in render.js and removed incorrect trailing comma in forms.js