Add a (hidden) template to the DOM tree for the info window because a) cloning a node performs better than string concatination and b) it's easier to customize.