Fix xqlint  & jshint warnings

fixed it