Create img_onload.js

A useful method to execute a callback when all images are loaded.