introducing shared Makefile templates
adding hosts.js back as a template