Issue with WaitForImagesToBeLoaded option fixed. This function was calling the callbacks method multiple times.. Fixed.