You could assign this directly if you like, `root.GOVUK.diff = function(...`.