Fix XSS in fetch source data javascript.
Merge pull request #2296 from evazion/fix-js-xss

Fix XSS in fetch source data javascript.