cleaned up jshint errors in Image.js