[perf] mapping type and os to browser when building manifest
cleaning up regexp compilation in loader