Kraigg Brathwaite and Shane Dowrich's half centuries helped West Indies post 318 and get a lead of 114 runs on Day 3.