BASE_TEMPLATE_PATH is now simply a private constant
no more self-hosting js