Moved the demo-specific code to its rightful place instead of renderer.js.

Also got rid of the <center> tags since those are kind of deprecated.