changes required to support the Chromeless runtime