updated blog.js to only run when hasBlog and load avatar images over ssl when approriate