Bug fix and documentation correction

There seems to be a bug where the $img variable is overwritten with the imagesLoaded instance, which then throws an error when .width() is called on it. I also found some references to .imageFill() instead of .imagefill() in the documentation.