It does't seem like this needs the wrinkle of lazy initialization at all -- we could either initialize it directly where it's declared at the top of the module or just compute this locally in the .attr() call below.  I'd lean toward the latter since that's what we usually do and it's not like this string concat is any more expensive than usual...