We try again.

Revert "Reverted Makefile-related and script changes made since Mon Jan 7.  (This fixes whatever is wrong with the Web UI.)"

This reverts commit 44563e50816607eab996ee09b2173aa3ff5e9da0.
We fix the problem with using system-provided handlebars.