cleaned up support for registering dust templates from the client-side