inject invoice url in style element so that it's also available when loaded in a tab