cosmetic changes in imageService.js