missing header.js, backport from master 1ab2f8abe52ead5aa95a09f05a4866df5c2ac2dc