Uglify kills `typeof`, use a static string. See troopjs/troopjs-bundle#46