JsHint: Include required files to VISX

Fixes broken JsHint. (#1074)

Recent changes require some dependencies
which are missing from VISX.

Also; fixes the incorrect exception.