Match style of other JS, and avoid redeclaring badge each time
Match style of other JS, and avoid redeclaring badge each time

DHBrett/AT-browser-tests,ThePacielloGroup/AT-browser-tests,DHBrett/AT-browser-tests,ThePacielloGroup/AT-browser-tests