Get rid of global variables

Can’t init callbacks because of strict mode
just `data.enabled`?