Force initial check was working for first time load by not for ajax call

use DOM ready to Force initial check of image. it works with both first time load and with ajax call.