I was following how FTU is handled in the settings app: https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/developer.js#L26