Fix header change javascript.