Update ImageLoader.js

Removed console logs and error blocks