Scale blog post titles to fit a single line

This adds a JavaScript function which repeatedly reduces the size of
blog post titles until they fit on a single line.