Adapt to changes in BayotBase JS Bug class