micro-optimize config gathering to make things a bit more dry

In response to https://github.com/cdent/tiddlywebplugins.markdown/commit/32c936a254cb4284f69a7fd220f4243cebfe44e6#commitcomment-3242809