fix header javascript.