Tool JS module: put template references into render() rather than model definition to allow for module loading when templates are not available.