Issue #2858403 by Phil Wolstenholme, dpagini, e0ipso: Turning toolbar integration off causes a JS error