refactor setupLivePreview

the transdown namespace will still be in scope when setupLivePreview()
is called, so the extra var shuffle (usually reserved for closures) is
superfluous.

refs #3