update header info in minified js