Move HtmlEditor author-time javascript to resource.

This way it can be upgraded along with the HtmlEditor C++ code.