Render DocumentFragments properly

Also remove dead render.js file