Use JS for templating.
Cleanup routing.
Merge pull request #2 from xarsh/refactor_headers

アメージング！