Fixed VGS declaration, enabled jshint latedef, fixed docblock