Added IE10 support

Client-side include code (used with the blog posts as well) was broken
in IE, now fixed for IE10. 6 through 9 were unavailable for comment.
Also cleaned up some code and made some style changes.