clarify purpose and variables of a render result
clarify variable naming
add docs and rename variable for clarity
iterate through and add any assets to the outgoing html