Checking if the image is hidden before doing anything else This way we avoid doing unnecessary work in case the image is actually hidden
Adding a callback option and documenting it
Adding support for Zepto.js
One empty line in the end of file