a little bit of cleanup in headers/index.js
structure header rewriting a little bit more