Vertically center h1 with JavaScript