Update image.class.js

error in final commit.