(#772) Fixed jshint errors.