Update img_dimensions.js

Removing alert() calls