add getHeader in functions, cut browserapi in is own file