V4 data ajax switch tweak & IE8 vapour build fix

These can be split into separate PRs if wanted

Data-ajax-*
- Use if/else since they only have 2 paths in each
- Wrap lines at 80 chars for ease of reading GH diffs
- Trim trailing spaces

___
The IE8 vapour file wasn't being minified due to bad globbing