dom elements are now added to badge image