Javascript toggle header view.