Thanks again to Brandon Inverson for providing this patch. All changes are his except for the comment in configure.ac and the version.js.tpl move/changes. Copyright-paperwork-exempt: Yes