Fix a jshint warning

One warning
32	'getStats' is already defined and can't be redefined.