Resolve JS hint errors

Minor touch up so it passes validation
also the unit test page is running against an older version of csv.js, and it is still using `Function('return this')()`.