correcting jshint error (duplicate var statement)
correcting a lot of yuidoc warnings