Fix JS error on all non-blog pages