Avoiding use of embedded markup to build DOM objects in favor of configurable strings