Refactored renderer.js -> ui_renderer.js
Fixed some of the formatting
Merge pull request #25 from hellochar/refactor-renderer

Refactored renderer.js -> ui_renderer.js