JBIDE-14103: BrowserSim's view source fix for VPE editor

This is a pull request with a better workaround than https://github.com/jbosstools/jbosstools-vpe/pull/67 .
The workaround is discussed in JBIDE-14320.