jQuery plugin - execute javascript after images have loaded.