Code quality

JSHint code quality enhancements to VPUtils.js