refactor(js): header