make header javascript work