Update img_dimensions.js to remove calls to alert()

alert() calls are annoying. :)