Got rid of imagesLoaded dependency

- Made use of jQuery.Deferred to synchronize images load event.
- Tiny refactoring