instance of openbadges is added to window.openbadges instead of window.obd now