Restore setters for HtmlGenerationOptions so it can be used by external classes.
Fix a problem with contentOnly generation in which a
Freemarker template error occurred since imagePaths was not set.
Don't assume jQuery is set to $.