Measurement of electroweak production of a W boson and two forward jets in proton-proton collisions at \( \sqrt{s}=8 \) TeV