Minor change to vector-wfs example

My linter complains that vectorSource is used before it is defined. This PR fixes it.

Non-functional change.