At a stable place

Reorganized JS into a more universal rewrite.js and individual
home.js/blog.js/etc for specific pages. I will likely consolidate these
into multiple functions in large file.