get rid of $this var using global bs_addons instead