Fix up Tender load order

So that tender_widget.js loads after we've defined window.Tender