cleaned up _image.js