Cleaning up JS a bit.
Adding option for default expansion state of posts.
Merge branch 'master' into gh-pages